projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8938a4f
)
Octave-mode support: for the function index entries, allow the prefix
author
Stephen Eglen
<stephen@gnu.org>
Sun, 22 Aug 1999 18:09:58 +0000
(18:09 +0000)
committer
Stephen Eglen
<stephen@gnu.org>
Sun, 22 Aug 1999 18:09:58 +0000
(18:09 +0000)
to also match optional return value list of form `[X Y ... Z] = '.
lisp/info-look.el
patch
|
blob
|
history
diff --git
a/lisp/info-look.el
b/lisp/info-look.el
index df4cfad445584ff4f5d56c6b06d489af09661d82..dc9cb0bec8158eb4094ae904519bb51b29a39c05 100644
(file)
--- a/
lisp/info-look.el
+++ b/
lisp/info-look.el
@@
-761,7
+761,8
@@
Return nil if there is nothing appropriate in the buffer near point."
(info-lookup-maybe-add-help
:mode 'octave-mode
:regexp "[_a-zA-Z0-9]+"
- :doc-spec '(("(octave)Function Index" nil "^ - [^:]+:[ ]+" nil)
+ :doc-spec '(("(octave)Function Index" nil
+ "^ - [^:]+:[ ]+\\(\\[[^=]*=[ ]+\\)?" nil)
("(octave)Variable Index" nil "^ - [^:]+:[ ]+" nil)
;; Catch lines of the form "xyz statement"
("(octave)Concept Index"